package com.xqls.service;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.Role;

public interface RoleService {
	
    boolean insertRecord(Role record);
	
    boolean updateRecord(Role record);
    
	boolean deleteRecord(String roleId);
	
	Role getLastRecord();
	
	List<Role> getListById(String roleId);
	
	List<Role> getListByName(String roleName);
	
	List<Role> getList();
	
	List<Role> getListByMap(Map<String,Object> map);
}
